```typescript index.ts
// List invoices
const getInvoicesResponse = payPalInvoicing.invoices.getInvoices({
    page: 1
    pageSize: 20
    fields: "all"
})
```